[Bug]: Webpack: TypeError: PurgeCSSPlugin is not a constructor 路 Issue #994 路 FullHuman/purgecss 路 GitHub

您所在的位置:网站首页 purgecss webpack plugin [Bug]: Webpack: TypeError: PurgeCSSPlugin is not a constructor 路 Issue #994 路 FullHuman/purgecss 路 GitHub

[Bug]: Webpack: TypeError: PurgeCSSPlugin is not a constructor 路 Issue #994 路 FullHuman/purgecss 路 GitHub

2024-02-23 13:09| 来源: 网络整理| 查看: 265

I temporarily solved my issue by downgrading back to version 4.1.3 but I missing out on the new stuff. Also got a new issue, it's definitely a webpack issue, not sure if it's a webpack-purgecss-plugin issue. Namely: javascript - toggle not functioning after webpack compilation. In the browser inspector I can see the toggle working but the class being added doesn't override the current class. At first, I thought purgecss was removing the class properties because it hasn't been used initially. And that still may be true, hence my mention of if. It is as if the specificity of the toggle class {.active} is lower than the current class and thus is voided.

That's why I think this is a purgecss issue



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3